<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// uni.setStorageSync('userToken','55a8ecdaef574df0acc0c7f787ea3c4b23d0c726')
			const app = getApp();
			
			uni.getSystemInfo({
			  success: function (res) {
				
			    if (res.platform === 'android' || res.platform === 'ios') {
			      console.log('移动端');
				  app.globalData.isPc=false
			    } else {
			      console.log('PC');
				   app.globalData.isPc=true
			    }
			  }
			});
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalDate: {
			isPc: false
		},
	}
</script>

<style lang="scss">
	@import "./uni_modules/vk-uview-ui/index.scss";
	page,view{
		color: #000;
	}
	html,
	   body {
	     resize: none;
	   }
	/*每个页面公共css */
	::-webkit-scrollbar{
		width: 0 !important;
		height: 0 !important;
	}
	.flex{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.center{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.start{
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
	}
	.end{
		display: flex;
		justify-content: flex-end;
		align-items: flex-end;
	}
	.f16{
		font-size: 16rpx;
	}
	.f24{
		font-size: 24rpx;
	}
	.f26{
		font-size: 26rpx;
	}
	.f28{
		font-size: 28rpx;
	}
	.f30{
		font-size: 30rpx;
	}
	.f32{
		font-size: 32rpx;
	}
	.f36{
		font-size: 36rpx;
	}
	.f38{
		font-size: 38rpx;
	}
	.f40{
		font-size: 40rpx;
	}
	.f50{
		font-size: 50rpx;
	}
	.f42{
		font-size: 42rpx;
	}
	.f60{
		font-size: 60rpx;
	}
	.c000{
		color: #000;
	}
	.c333{
		color: #333;
	}
	.c666{
		color: #666;
	}
	.c999{
		color: #999;
	}
	.ce6{
		color: #e6e6e6;
	}
	.cfff{
		color: #fff;
	}
	.cFF3D00{
		color: #FF3D00;
	}
	.cffd33a{
		color: #ffd33a;
	}
	.c007aff{
		color: #007aff;
	}
	.cf00{
		color: #ff0000;
	}
	.cb5{
		color: #b5b5b5;
	}
	.c0DA701{
		color: #0DA701;
	}
	.cFB5C00{
		color: #FB5C00;
	}
	.cFC9A45{
		color: #FC9A45;
	}
	.cFFB300{
		color: #FFB300;
	}
	.c989595{
		color:#989595
	}
	.cFF3A9C{
		color: #FF3A9C;
	}
	.cE6D2FE{
		color: #E6D2FE;
	}
	.c834EFF{
		color: #834EFF;
	}
	.c36a9e0{
		color: #36a9e0;
	}
	.cFFE28D{
		color: #FFE28D;
	}
	.cFF1391{
		color: #FF1391;
	}
	.cF83F8B{
		color: #F83F8B;
	}
	.cFF5A47{
		color: #FF5A47;
	}
	.cFD3B25{
		color: #FD3B25;
	}
	.cFE733F{
		color: #FE733F;
	}
	.ce0{
		color: #e0e0e0;
	}
	.bg-fff{
		background-color: #fff;
	}
	.bg-0DA701{
		background-color: #0DA701;
	}
	.bg-007aff{
		background-color: #007aff;
	}
	.bg-e5{
		background-color: #e5e5e5;
	}
	.bg-FCBF45{
		background-color: #FCBF45;
	}
	.mt-6{
		margin-top: 6rpx;
	}
	.mt-20{
		margin-top: 20rpx;
	}
	.mt-30{
		margin-top: 30rpx;
	}
	.mt-60{
		margin-top: 60rpx;
	}
	.mb-2{
		margin-bottom: 2rpx;
	}
	.mb-4{
		margin-bottom: 4rpx;
	}
	.mb-8{
		margin-bottom: 8rpx;
	}
	.mb-10{
		margin-bottom: 10rpx;
	}
	.mb-16{
		margin-bottom: 16rpx;
	}
	.mb-20{
		margin-bottom: 20rpx;
	}
	.mb-30{
		margin-bottom: 30rpx;
	}
	.mb-32{
		margin-bottom: 32rpx;
	}
	.mb-40{
		margin-bottom: 40rpx;
	}
	.mb-60{
		margin-bottom: 60rpx;
	}
	.ml-4{
		margin-left: 4rpx;
	}
	.ml-6{
		margin-left: 6rpx;
	}
	.ml-8{
		margin-left: 8rpx;
	}
	.ml-10{
		margin-left: 10rpx;
	}
	.ml-12{
		margin-left: 12rpx;
	}
	.ml-14{
		margin-left: 14rpx;
	}
	.ml-16{
		margin-left: 16rpx;
	}
	.ml-20{
		margin-left: 20rpx;
	}
	.ml-30{
		margin-left: 30rpx;
	}
	.ml-40{
		margin-left: 40rpx;
	}
	.ml-50{
		margin-left: 50rpx;
	}
	.ml-60{
		margin-left: 60rpx;
	}
	.ml-80{
		margin-left: 80rpx;
	}
	.mr-8{
		margin-right: 8rpx;
	}
	.mr-12{
		margin-right: 12rpx;
	}
	.mr-16{
		margin-right: 16rpx;
	}
	.mr-20{
		margin-right: 20rpx;
	}
	.pad3020{
		padding: 30rpx 20rpx;
	}
	.pad20{
		padding: 20rpx;
	}
	.pad30{
		padding: 30rpx;
	}
	.pb20{
		padding-bottom: 20rpx;
	}
	.ptb30{
		padding: 30rpx  0;
	}
	.img{
		width: 100%;
	}
	.widths{
		width:92%;
		margin: 0 auto;
	}
	.com-title{
		padding: 30rpx 0;
	}
	.com-title .comtit .tit{
		font-family: "PingFangB";
		margin-left: 10rpx;
	}
	.com-title .left{
		align-items: center;
	} 
	.com-title .right{
		align-items: center;
	}
	.block{
		background-color: #fff;
		border-radius: 16rpx;
	}
	.grayblock{
		background-color: #EBEBEB;
	}
	.boldfont{
		font-family: "PingFangB";
	}
	.bold{
		font-weight: bold;
	}
	.bline{
		border-bottom: 2rpx solid #E5E5E5;
	}
	.navbar-left{
		padding-left: 30rpx;
	}
	.navbar-right{
		padding-right: 30rpx;
	}
	.hidden{
		display: none !important;
	}
	.dirCloumn{
		flex-direction: column;
	}
	.text-cut /*限制文字,文字超出显示冒号*/
	{
	    overflow: hidden;
	    white-space: nowrap;
	    text-overflow: ellipsis;
	    -o-text-overflow: ellipsis;
	    -ms-text-overflow: ellipsis;
	    -webkit-text-overflow: ellipsis;
	    -moz-text-overflow: ellipsis;
	}
	.text-container {
	  display: -webkit-box;
	  -webkit-line-clamp: 2; /* Number of lines to display */
	  -webkit-box-orient: vertical;
	  overflow: hidden;
	  text-overflow: ellipsis;
	}
</style>
